﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020014F3 RID: 5363
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class WaitDelResource : IMessage<WaitDelResource>, IMessage, IEquatable<WaitDelResource>, IDeepCloneable<WaitDelResource>, IBufferMessage
	{
		// Token: 0x1700438B RID: 17291
		// (get) Token: 0x0600EFF5 RID: 61429 RVA: 0x00280CD4 File Offset: 0x0027EED4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<WaitDelResource> Parser
		{
			get
			{
				return WaitDelResource._parser;
			}
		}

		// Token: 0x1700438C RID: 17292
		// (get) Token: 0x0600EFF6 RID: 61430 RVA: 0x00280CDB File Offset: 0x0027EEDB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return WaitDelResourceReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700438D RID: 17293
		// (get) Token: 0x0600EFF7 RID: 61431 RVA: 0x00280CED File Offset: 0x0027EEED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return WaitDelResource.Descriptor;
			}
		}

		// Token: 0x0600EFF8 RID: 61432 RVA: 0x00280CF4 File Offset: 0x0027EEF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WaitDelResource()
		{
		}

		// Token: 0x0600EFF9 RID: 61433 RVA: 0x00280CFC File Offset: 0x0027EEFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WaitDelResource(WaitDelResource other) : this()
		{
			this.tid_ = other.tid_;
			this.num_ = other.num_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600EFFA RID: 61434 RVA: 0x00280D2D File Offset: 0x0027EF2D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WaitDelResource Clone()
		{
			return new WaitDelResource(this);
		}

		// Token: 0x1700438E RID: 17294
		// (get) Token: 0x0600EFFB RID: 61435 RVA: 0x00280D35 File Offset: 0x0027EF35
		// (set) Token: 0x0600EFFC RID: 61436 RVA: 0x00280D3D File Offset: 0x0027EF3D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Tid
		{
			get
			{
				return this.tid_;
			}
			set
			{
				this.tid_ = value;
			}
		}

		// Token: 0x1700438F RID: 17295
		// (get) Token: 0x0600EFFD RID: 61437 RVA: 0x00280D46 File Offset: 0x0027EF46
		// (set) Token: 0x0600EFFE RID: 61438 RVA: 0x00280D4E File Offset: 0x0027EF4E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Num
		{
			get
			{
				return this.num_;
			}
			set
			{
				this.num_ = value;
			}
		}

		// Token: 0x0600EFFF RID: 61439 RVA: 0x00280D57 File Offset: 0x0027EF57
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as WaitDelResource);
		}

		// Token: 0x0600F000 RID: 61440 RVA: 0x00280D65 File Offset: 0x0027EF65
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(WaitDelResource other)
		{
			return other != null && (other == this || (this.Tid == other.Tid && this.Num == other.Num && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600F001 RID: 61441 RVA: 0x00280DA4 File Offset: 0x0027EFA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Tid != 0U)
			{
				num ^= this.Tid.GetHashCode();
			}
			if (this.Num != 0U)
			{
				num ^= this.Num.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600F002 RID: 61442 RVA: 0x00280DFC File Offset: 0x0027EFFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600F003 RID: 61443 RVA: 0x00280E04 File Offset: 0x0027F004
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600F004 RID: 61444 RVA: 0x00280E10 File Offset: 0x0027F010
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Tid != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.Tid);
			}
			if (this.Num != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.Num);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600F005 RID: 61445 RVA: 0x00280E6C File Offset: 0x0027F06C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Tid != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Tid);
			}
			if (this.Num != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Num);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600F006 RID: 61446 RVA: 0x00280EC4 File Offset: 0x0027F0C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(WaitDelResource other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Tid != 0U)
			{
				this.Tid = other.Tid;
			}
			if (other.Num != 0U)
			{
				this.Num = other.Num;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600F007 RID: 61447 RVA: 0x00280F14 File Offset: 0x0027F114
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600F008 RID: 61448 RVA: 0x00280F20 File Offset: 0x0027F120
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 72U)
				{
					if (num != 112U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Num = input.ReadUInt32();
					}
				}
				else
				{
					this.Tid = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005ECD RID: 24269
		private static readonly MessageParser<WaitDelResource> _parser = new MessageParser<WaitDelResource>(() => new WaitDelResource());

		// Token: 0x04005ECE RID: 24270
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005ECF RID: 24271
		public const int TidFieldNumber = 9;

		// Token: 0x04005ED0 RID: 24272
		private uint tid_;

		// Token: 0x04005ED1 RID: 24273
		public const int NumFieldNumber = 14;

		// Token: 0x04005ED2 RID: 24274
		private uint num_;
	}
}
